home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
3D Game Programming All in One
/
3D Game Programming All in One Disc.iso
/
3D2E
/
RESOURCES
/
KOOB
/
control
/
client
/
default_profile.cs
< prev
next >
Wrap
Text File
|
2006-09-23
|
3KB
|
129 lines
//============================================================================
// control/client/default_profile.cs
//
// Copyright (c) 2003 Kenneth C. Finney
//============================================================================
//-----------------------------------------------------------------------------
// Chat Box profiles
new GuiControlProfile (ChatBoxEditProfile)
{
opaque = false;
fillColor = "255 255 255";
fillColorHL = "128 128 128";
border = false;
borderThickness = 0;
borderColor = "40 231 240";
fontColor = "40 231 240";
fontColorHL = "40 231 240";
fontColorNA = "128 128 128";
textOffset = "0 2";
autoSizeWidth = false;
autoSizeHeight = true;
tab = true;
canKeyFocus = true;
};
new GuiControlProfile (ChatBoxTextProfile)
{
opaque = false;
fillColor = "255 255 255";
fillColorHL = "128 128 128";
border = false;
borderThickness = 0;
borderColor = "40 231 240";
fontColor = "40 231 240";
fontColorHL = "40 231 240";
fontColorNA = "128 128 128";
textOffset = "0 0";
autoSizeWidth = true;
autoSizeHeight = true;
tab = true;
canKeyFocus = true;
};
new GuiControlProfile ("ChatBoxMessageProfile")
{
fontType = "Arial";
fontSize = 16;
fontColor = "44 172 181"; // default color (death msgs, scoring, inventory)
fontColors[1] = "4 235 105"; // client join/drop, tournament mode
fontColors[2] = "219 200 128"; // gameplay, admin/voting, pack/deployable
fontColors[3] = "77 253 95"; // team chat, spam protection message, client tasks
fontColors[4] = "40 231 240"; // global chat
fontColors[5] = "200 200 50 200"; // used in single player game
// WarnING! Colors 6-9 are reserved for name coloring
autoSizeWidth = true;
autoSizeHeight = true;
};
new GuiControlProfile ("ChatBoxScrollProfile")
{
opaque = false;
border = false;
borderColor = "0 255 0";
bitmap = "common/ui/darkScroll";
hasBitmapArray = true;
};
//-----------------------------------------------------------------------------
// Common Hud profiles
new GuiControlProfile ("HudScrollProfile")
{
opaque = false;
border = true;
borderColor = "0 255 0";
bitmap = "common/ui/darkScroll";
hasBitmapArray = true;
};
new GuiControlProfile ("HudTextProfile")
{
opaque = false;
fillColor = "128 128 128";
fontColor = "0 255 0";
border = true;
borderColor = "0 255 0";
};
new GuiControlProfile ("ScoreTextProfile")
{
opaque = false;
fillColor = "128 128 128";
fontColor = "255 255 0";
border = true;
borderColor = "180 180 0";
fontSize = 16;
};
new GuiControlProfile ("ChatBoxBorderProfile")
{
bitmap = "./interfaces/emaga_chatwidgetarray";
hasBitmapArray = true;
opaque = false;
};
//-----------------------------------------------------------------------------
// Center and bottom print
new GuiControlProfile ("CenterPrintProfile")
{
opaque = false;
fillColor = "128 128 128";
fontColor = "0 255 0";
border = true;
borderColor = "0 255 0";
};
new GuiControlProfile ("CenterPrintTextProfile")
{
opaque = false;
fontType = "Arial";
fontSize = 12;
fontColor = "0 255 0";
};
GuiButtonProfile.soundButtonOver = "AudioButtonOver";